package com.example.doubt.mvvm.test

import android.view.View
import com.example.doubt.databinding.ActivityMvvmTestBinding
import com.mxin.mvvm.BaseMvvmActivity
import com.mxin.mvvm.viewmodel.BaseViewModel

class TestMvvmActivity : BaseMvvmActivity<ActivityMvvmTestBinding, TestViewModel>() {

    override fun showLoadingView(): View? {
        return viewBinding.tvContent
    }

    override fun initData() {
        viewBinding.tvContent.text = "闪电发货萨法京东客服了"
    }

    override fun initView() {
        setTitleView(viewBinding.title, "MVVM测试")
    }

    override fun onLoadRetry() {

    }

}


class TestViewModel:BaseViewModel(){

}